﻿using System;

namespace Utility
{
    [Serializable]
    public class MyMessage
    {
        /// <summary>
        /// 信息的类型
        /// </summary>
        public String MessageType { get; set; }
        /// <summary>
        /// 文本信息
        /// </summary>
        public Message Mymessage { get; set; }
        /// <summary>
        /// 图片信息
        /// </summary>
        public Images Myimage { get; set; }
        /// <summary>
        /// 发送人
        /// </summary>
        public User Sender { get; set; }
        /// <summary>
        /// 接收人
        /// </summary>
        public User Accepter { get; set; }
        /// <summary>
        /// 姓名
        /// </summary>
        public String Name { get; set; }
        /// <summary>
        /// 发送方的ip
        /// </summary>
        public String Ip { get; set; }
        /// <summary>
        /// 发送方的端口
        /// </summary>
        public int Port { get; set; }
    }
}
